<div appBsModal #modal="bs-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="modal"
   aria-hidden="true" [config]="{backdrop: 'static'}">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
        <form #seoForm="ngForm" novalidate (ngSubmit)="save()">
            <div class="modal-header">
                <h5 class="modal-title">
                    <span>seo</span>
                </h5>
                <span class="pull-right">
                    <button type="button" class="close" (click)="close()" [attr.aria-label]="l('Close')"
                        [disabled]="saving">
                        <i aria-hidden="true" class="bi bi-x"></i>
                    </button>
                </span>
            </div>
            <div class="modal-body">
                <div class="form-group form-md-line-input form-md-floating-label no-hint">
                    <label>Title</label>
                    <input class="form-control" type="text" [(ngModel)]="seoData.title" required name="title">
                </div>
                <div class="form-group form-md-line-input form-md-floating-label no-hint">
                    <label>KeyWords</label>
                    <input class="form-control" type="text" [(ngModel)]="seoData.keyWords" name="keyWords">
                </div>
                <div class="form-group form-md-line-input form-md-floating-label no-hint">
                    <label>Description</label>
                    <textarea class="form-control" rows="5"  [(ngModel)]="seoData.description" name="description"></textarea>
                </div>
                <div class="form-group form-md-line-input form-md-floating-label no-hint">
                    <label>CustomData</label>
                    <textarea class="form-control" rows="5"  [(ngModel)]="seoData.customData" name="customData"></textarea>
                </div>
            </div>
            <div class="modal-footer">
                <button [disabled]="saving" type="button" class="btn btn-light-primary font-weight-bold" (click)="close()">{{"Cancel" | localize}}</button>
                <button type="button" *ngIf="seoData.id" class="btn btn-default"  (click)="removeSeo()">{{"Reset" | localize}}</button>
                <button type="submit"  class="btn btn-primary font-weight-bold" [disabled]="!seoForm.form.valid" [buttonBusy]="saving" [busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i> <span>{{"Save" | localize}}</span></button>
            </div>
        </form>
    </div>
  </div>
</div>